package com.ego.coupon;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author KamTang
 */
@SpringBootApplication
@MapperScan(value = "com.ego.coupon.dao")
@EnableTransactionManagement
@EnableDiscoveryClient
@EnableFeignClients("com.ego.coupon.feign")
public class EgoCouponApplication {

    public static void main(String[] args) {
        SpringApplication.run(EgoCouponApplication.class, args);
    }

}
